//
//  IdeaViewController.m
//  MyLittleBrother
//
//  Created by speeda on 17/8/1.
//  Copyright © 2017年 speeda. All rights reserved.
//

#import "IdeaViewController.h"

@interface IdeaViewController () <UITextViewDelegate>
@property (weak, nonatomic) IBOutlet UITextView *ideaTextField;

@end

@implementation IdeaViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    
    [self initView];
}


- (void)initView {

    self.automaticallyAdjustsScrollViewInsets = NO;
    self.title = @"意见反馈";
    self.ideaTextField.delegate = self;
}


#pragma mark -- 提交
- (IBAction)submitBtnAction:(id)sender {
    
    
}



/**
 开始编辑
 @param textView textView
 */
- (void)textViewDidBeginEditing:(UITextView *)textView
{
    if ([textView.text isEqualToString:@"有什么意见，告诉我们吧......"]) {
        
        textView.text = @"";
        
    }
}


@end
